<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<div class="t_bar">本申请所附材料清单</div>
<c:set var="nature_value" scope="page">
	<x:out
		select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" />
</c:set>
<c:set var="status" scope="page">
	<x:out select="$xmlData/data/proposal/status" />
</c:set>
<c:set var="grant_code" scope="page">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code" scope="page">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>
<input id='pass_files' name="proposal/pass_files" type='hidden'
	value='<x:out select="$xmlData/data/proposal/pass_files" />'>
<table id="prpContent_upload" label="附件" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr>
			<c:choose>
				<c:when test="${status==10}">
					<c:set var="colspanVar" scope="page">7</c:set>
					<c:set var="widthVar1" scope="page">7</c:set>
					<c:set var="widthVar2" scope="page">30</c:set>
					<c:set var="widthVar3" scope="page">7</c:set>
					<c:set var="widthVar4" scope="page">25</c:set>
					<c:set var="widthVar5" scope="page">10</c:set>
				</c:when>
				<c:otherwise>
					<c:set var="colspanVar" scope="page">8</c:set>
					<c:set var="widthVar1" scope="page">8</c:set>
					<c:set var="widthVar2" scope="page">50</c:set>
					<c:set var="widthVar3" scope="page">10</c:set>
					<c:set var="widthVar4" scope="page">25</c:set>
					<c:set var="widthVar5" scope="page">10</c:set>
				</c:otherwise>
			</c:choose>
			<td colspan="${colspanVar}"><strong>注意事项：</strong><br />
				1.下表附件，请按照附件文件的要求，每条记录以一个文件形式上传，如果有多个文件则请先合并为一个文件后再上传。<br>
				2.每个附件材料的复印件或者原件，以彩色扫描或者拍照的形式，确保足够清晰、可辨，否则将影响单位信息的审核，甚至专项资金的审批拨付。<br>
			</td>
		</tr>
		<tr>
			<th width="${widthVar1}%">序号</th>
			<th width="${widthVar2}%">附件名称</th>
			<th width="${widthVar3}%">是否必备材料</th>
			<th width="10%"
				<c:if test="${status!=10}">style="display:none"</c:if>>是否符合条件</th>
			<th nowrap width="23%"
				<c:if test="${status!=10}">style="display:none"</c:if>>上次上传记录</th>
			<th width="${widthVar4}%">下载</th>
			<th width="${widthVar5}%">操作</th>
		</tr>
	</thead>
	<tbody>
		<cpt:prpAttach formCode="${fbl.formCode}" grantCode="${sub_grant_code}" natureValue="${nature_value}"
			status="${status}" xmlData="${xmlstr}"></cpt:prpAttach>
	</tbody>
</table>
<br />
<table>
	<tr>
		<td>
			<cpt:helpTips key="attach_info" id="tipsId"></cpt:helpTips>
		</td>
	<tr>
</table>
<%--
<script type="text/javascript">
	function ContentDownDesc(template)
	{
		document.location="${res_app}/template/content/"+encodeURIComponent(template);
		return false;
	}
</script>--%>
